﻿<%@ Page Language="C#" MasterPageFile="~/admin/Admin.master" AutoEventWireup="true" CodeFile="SuaKH.aspx.cs" Inherits="admin_SuaKH" Title="Untitled Page" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <form id="form1" runat="server">
    <table style="width:100%;">
        <tr>
           <td width="30%">
                <asp:Label ID="Label1" runat="server" Text="Tên KH"></asp:Label>
            </td>
            <td>
                <asp:TextBox ID="txtTenKH" runat="server" Width="211px" 
                    ontextchanged="txtTenKH_TextChanged"></asp:TextBox>
                (*)<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                    ControlToValidate="txtTenKH" ErrorMessage="Nhập tên khách hàng!"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td>
                <asp:Label ID="Label2" runat="server" Text="Mật Khẩu"></asp:Label>
            </td>
            <td>
                <asp:TextBox ID="txtMatKhau" runat="server" TextMode="Password" Width="212px"></asp:TextBox>
                (*)<asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                    ControlToValidate="txtMatKhau" ErrorMessage="Nhập mật khẩu!"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td>
                <asp:Label ID="Label3" runat="server" Text="Địa Chỉ"></asp:Label>
            </td>
            <td>
                <asp:TextBox ID="txtDiaChi" runat="server" Width="211px"></asp:TextBox>
                (*)<asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" 
                    ControlToValidate="txtDiaChi" ErrorMessage="Nhập địa chỉ!"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td>
                <asp:Label ID="Label4" runat="server" Text="Điện Thoại"></asp:Label>
            </td>
            <td>
                <asp:TextBox ID="txtDienThoai" runat="server" Width="211px"></asp:TextBox>
                (*)<asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" 
                    ControlToValidate="txtDienThoai" ErrorMessage="Nhập số điện thoại!"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td>
                <asp:Label ID="Label5" runat="server" Text="Email"></asp:Label>
            </td>
            <td>
                <asp:TextBox ID="txtEmail" runat="server" Width="210px"></asp:TextBox>
                (*)<asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" 
                    ControlToValidate="txtEmail" ErrorMessage="Nhập email!"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td>
                &nbsp;</td>
            <td>
                <asp:Button ID="btSave" runat="server" Text="Save" Width="66px" 
                    onclick="btSave_Click" />
                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                <asp:Button ID="btCancel" runat="server" onclick="btCancel_Click" 
                    Text="Cancel" />
            </td>
        </tr>
    </table>
    </form>
</asp:Content>

